package com.sniff.atp.enums.api;

import com.sniff.atp.constant.config.SniffHost;
import lombok.Getter;

@Getter
public enum CustomerAPI {
    CLIENT_LOGIN("/customer/passwordLogin", "client登录"),
    CHANGE_LOGIN("/customer/changeLogin", "client登录"),
    CHANGE_LOGIN_BY_TYPE("/customer/changeLoginByType", "切换平台"),
    SYSTEM_LOGIN("/customer/users/token", "system平台端登录"),
    DK_LOGIN("/customer/take/users/login", "DK档口小程序登录"),
    SIGN_UP("/customer/signup", "用户注册"),
    SYSTEM_SOURCES_LOGIN("/customer/signup/defaultLogin", "新用户登录"),
    MOBILE_LOGIN("/customer/mobileLogin", "手机号登录"),
    SHOP_ADD("/customer/customer/shop/add", "添加店铺"),
    CODE("/customer/signup/send/code", "获取验证码"),
    MOBILE_CODE("/customer/mobile/send/code", "获取验证码"),
    CHANGE_SHOP("/customer/changeShop", "切换店铺"),
    GET_CUSTOMER_DETAILS("/customer/getCustomerDetails", "获取客户信息"),
    ;
    private final String api;
    private final String desc;

    CustomerAPI(String api, String desc) {
        this.api = SniffHost.HOST + api;
        this.desc = desc;
    }
}
